import java.util.Scanner;

public class main {

    public static Scanner scanner=new Scanner(System.in);
    public static void main(String[] args) {
        int i=5;	
	int j=0;
        int correct=0;
        Output out;
        while(i>0){
            out=new Output();
            System.out.print(out.getString());
            String s=scanner.nextLine();
            if(out.judge(s)){
                System.out.println("回答正确！");
                correct++;
            }else{
                System.err.println("回答错误！正确答案为");
            }
            i--;
            System.out.println("还有"+i+"道题未回答");
        }
        System.out.println("回答完毕，回答正确的为"+correct+"道");
 	j=correct/5;
	System.out.println("正确率为"+j);
    }
}

